package com.bwie.orders.feign;


import com.bwie.common.utils.R;
import com.bwie.orders.vo.ActivityVo;
import com.bwie.orders.vo.BargainVo;
import com.bwie.orders.vo.GoodsVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name = "user")
public interface GoodsFeign {

    @RequestMapping("user/activity/info/{aid}")
    public R info(@PathVariable("aid") Long aid);
    @RequestMapping("user/goods/info/{gid}")
    public R info2(@PathVariable("gid") Long gid);

    @RequestMapping("user/activity/update")
    public R update(@RequestBody ActivityVo activity);
    @RequestMapping("user/goods/update")
    public R update2(@RequestBody GoodsVo goods);





}
